// ========================== 
// 描述：快速加载面板
// 作者：MING
// 创建时间：2021/09/02 11:58:45 
// 版本：1.0
// ========================== 
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

namespace UIFrame
{
    public class PanelLoad
    {
        [MenuItem("Tools/UIFrame/BackStagePanelBind")]
        public static void BindPanel()
        {
            BasePanel[] panels = Resources.FindObjectsOfTypeAll<BasePanel>();
            foreach (var item in panels)
            {
                Debug.Log("已重置面板:" + item.name);
                item.Reset();
            }
        }
    }
}
